package com.clotingshoppos.common.base.BaseService;

import com.clotingshoppos.common.base.BaseEntity.BaseEntity;

/**
 * @InterfaceName: BaseService
 * @Description: Service基类
 * @Author: zhandad
 * @Date: 2019-03-25 10:25
 * @Version
 */
public interface BaseService<T extends BaseEntity> {
    //定义增加接口
    T add(T t);

    //定义查找接口
    T findById(String t);

    //定义更新接口
    T update (T t);

    //定义删除接口
    T delete (T t);
}
